package com.lianzheng.dao;

import java.util.List;
import com.lianzheng.model.TbSysUserinfo;

/**
 * User Data Access Object (DAO) interface.
 *
 * <p>
 * <a href="TbSysUserinfoDAO.java.html><i>View Source</i></a>
 * </p>
 *
 * @author <a href="heymanchen@gmail.com">haihua chen</a>
 */
public interface TbSysUserinfoDAO extends com.lianzheng.dao.DAO {
    /**
     * Gets TbSysUserinfos information based on userid
     * @param userid the current USERID
     * @return TbSysUserinfo populated TbSysUserinfo object
     */
    public TbSysUserinfo getTbSysUserinfo(String userid);
	public TbSysUserinfo getTbSysUserinfoFull(String userid);



    /**
     * add a tbSysUserinfo's information
     * @param tbSysUserinfo the object to be added
     */
    public void addTbSysUserinfo(TbSysUserinfo tbSysUserinfo);
    /**
     * update a tbSysUserinfo's information
     * @param tbSysUserinfo the object to be updated
     */
    public void updateTbSysUserinfo(TbSysUserinfo tbSysUserinfo);
    /**
     * Removes a tbSysUserinfo from the database by primary Key id
     * @param userid the tbSysUserinfo's userid
     */
    public void removeTbSysUserinfo(String userid);

    /**
     * Gets a list of TbSysUserinfos based on parameters passed in.
     *
     * @return List populated list of TbSysUserinfos
     */
    public List getTbSysUserinfos();

    public List getTbSysUserinfoByAnd(TbSysUserinfo tbSysUserinfo,String order_by);

    public List getTbSysUserinfoByOr(TbSysUserinfo tbSysUserinfo,String order_by);

    public List getTbSysUserinfoByLike(TbSysUserinfo tbSysUserinfo,String order_by);
}
